<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			function clickMe() {
				// console.log("clickMe");
				var input = document.getElementById("inputId");
				var value = input.value;
				alert(value);
			}
		</script>
	</head>
	<body>
		<input type="text" value="" id="inputId"/><br/>
		<button onclick="clickMe()">点我</button>
	</body>
</html>
